<?php
define("P4A_LOCALE", 'pt_BR');
define('P4A_AUTO_DB_SEQUENCES', false);

define("P4A_DSN", 'mysql://root:@localhost/artesanato');

// Enable logging and profiling of all DB actions
// define("P4A_DB_PROFILE", true);

// Enable more error details
// define("P4A_EXTENDED_ERRORS", true);

// Disable AJAX during the development phase, it will allows you
// a faster debug, enable it on the production server
// define("P4A_AJAX_ENABLED", false);

require_once dirname(__FILE__) . '/../../p4a.php';

$p4a = p4a::singleton("Artesanato");
$p4a->main();
